//
//  UIView+HKAnimation.h
//  HKProject
//
//  Created by 胡锦涛 on 2020/5/29.
//  Copyright © 2020 胡锦涛. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface UIView (HKAnimation)
#pragma mark - 动画相关
/** 眨眼动画-上下 */
- (void)hk_animation_blinkUpAndDown:(void (^)(void))complete;
/** 震动/抖动-效果 */
- (void)hk_animation_shake:(void (^)(void))complete;
/** 旋转消失 */
- (void)hk_animation_rotate:(void (^)(void))complete;
/** 顶部抽离消失 */
- (void)hk_animation_suckEffect:(void (^)(void))complete;
/** 立体翻转消失 */
- (void)hk_animation_cube:(void (^)(void))complete;
/** 顶部翻转消失 */
- (void)hk_animation_oglFlip:(void (^)(void))complete;
/** 弹簧动画，先缩小后放大 */
- (void)hk_animation_springEffect:(void (^)(void))complete;
#pragma mark - 伸缩变换
/*弹出*/
- (void)hk_popOutsideWithDuration:(NSTimeInterval)duration;
/*弹进*/
- (void)hk_popInsideWithDuration:(NSTimeInterval)duration;

#pragma mark - UITableViewCell翻转
- (void)hk_cellFlipping;
- (void)hk_startDuangAnimation;
- (void)hk_startTransitionAnimation;
@end

NS_ASSUME_NONNULL_END
